<%@ page language="java" contentType="text/html; charset=utf-8"
         %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Hello World</title>
</head>
<body>
<h1>Account Demo</h1>
<form action="login">
    账号:<input type="text" name="id"/>
    密码:<input type="password" name="password"/>
    <input type="submit" value="登陆"/>
</form>
    <button onclick="window.location.href='forPublic/register.jsp'">注册</button>

</body>
</html>